<?php
session_start();

if(isset($_POST['password']) && $_POST['password'] == 'Itccntrl2013') {
	$_SESSION['valida'] = true;
}

if(!isset($_SESSION['valida'])) { ?>
<form action="" method="POST" >
	<label>Clave de paso</label>
	<input type="password" name="password" value="" />
	<input type="submit" />
</form>
<?php die(); } 

define('ROOT', dirname(dirname(__FILE__)));

require_once (ROOT . '/system/bootstrap.php');
?>
